package com.gitee.urick.union.api.controller.sys;

import com.gitee.urick.union.entity.User;
import com.gitee.urick.union.utils.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Controller Permit
 *
 * @author Rick 2021/3/8 15:31
 * @since 1.0
 */
@RestController
@RequestMapping("permit")
public class PermitController {

    /**
     * 用户授权
     *
     * @param user 授权用户
     * @return 授权结果
     */
    @GetMapping("/user")
    public Result<String> user(User user) {
        return Result.success();
    }

}
